package com.tansty.web.config.mybatisplus;

import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * description:  <br>
 * date: 2021/8/24 13:18 <br>
 * author: ztz <br>
 * version: 1.0 <br>
 */
@Configuration
@MapperScan("com.tansty.security.mapper")
public class MyBatisPlusConfig {
    @Bean
    public MybatisPlusInterceptor mybatisPlusInterceptor() {
        MybatisPlusInterceptor mybatisPlusInterceptor = new MybatisPlusInterceptor();
        return mybatisPlusInterceptor;
    }
}
